import request from "@/utils/http";

//登录后的加入购物车
export const reqInsertCart = ({ skuId, count }) => request({ url: '/member/cart', method: 'post', data: { skuId, count } })
//获取最新的购物车
export const reqNewCart = () => request({ url: '/member/cart', method: 'get' })
//登录后删除购物车
export const reqDelCart = (ids) => request({ url: '/member/cart', method: 'delete', data: { ids } })
// 合并购物车
export const reqMergeCart = (data) => request({ url: '/member/cart/merge', method: 'post', data })






